#ifndef SIX_STEP_INTERFACE_H
#define SIX_STEP_INTERFACE_H



// 控制参数
typedef enum
{
    pwm_on = 0,
    on_pwm,
    h_pwm_l_on,
    h_on_l_pwm,
    h_pwm_l_pwm
} mos_ctrl_mode_t;

// 对外函数接口
extern void open_a_above_bridge(void);
extern void open_b_above_bridge(void);
extern void open_c_above_bridge(void);
extern void open_a_below_bridge(void);
extern void open_b_below_bridge(void);
extern void open_c_below_bridge(void);

extern void close_a_above_bridge(void);
extern void close_b_above_bridge(void);
extern void close_c_above_bridge(void);
extern void close_a_below_bridge(void);
extern void close_b_below_bridge(void);
extern void close_c_below_bridge(void);

extern void open_a_above_by_duty(unsigned short duty);
extern void open_b_above_by_duty(unsigned short duty);
extern void open_c_above_by_duty(unsigned short duty);
extern void open_a_below_by_duty(unsigned short duty);
extern void open_b_below_by_duty(unsigned short duty);
extern void open_c_below_by_duty(unsigned short duty);

#endif
